<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>BOSS Afterburner: AxisNamed.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">BOSS Afterburner
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('AxisNamed_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">AxisNamed.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="AxisNamed_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef BOSS_Afterburner_AxisNamed_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define BOSS_Afterburner_AxisNamed_H</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="AxisBinning_8h.html">Containers/AxisBinning.h</a>&quot;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="NamedObject_8h.html">NamedObject.h</a>&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;TString.h&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &lt;yaml-cpp/yaml.h&gt;</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="classAxisNamed.html">   16</a></span>&#160;<span class="keyword">class </span><a class="code" href="classAxisNamed.html">AxisNamed</a> : <span class="keyword">public</span> <a class="code" href="classNamedObject.html">NamedObject</a>, <span class="keyword">public</span> <a class="code" href="classAxisBinning.html">AxisBinning</a></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;{</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="classAxisNamed.html#afcf23c9ee9c33b9aa4c321aa672f0082">   19</a></span>&#160;  <a class="code" href="classAxisNamed.html#afcf23c9ee9c33b9aa4c321aa672f0082">AxisNamed</a>() {}</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classAxisNamed.html#a587bcf0b930cd89ad059f05d5ec72866">   20</a></span>&#160;  <a class="code" href="classAxisNamed.html#a587bcf0b930cd89ad059f05d5ec72866">AxisNamed</a>(<span class="keyword">const</span> TString&amp; input) { <a class="code" href="classAxisNamed.html#a22d6fde3876454630e1d60a5c06b7354">Import</a>(input); }</div><div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="classAxisNamed.html#a7418cc7eddb9805a6eb5ea7d16890390">   21</a></span>&#160;  <a class="code" href="classAxisNamed.html#a7418cc7eddb9805a6eb5ea7d16890390">AxisNamed</a>(<span class="keyword">const</span> YAML::Node&amp; input) { <a class="code" href="classAxisNamed.html#a22d6fde3876454630e1d60a5c06b7354">Import</a>(input); }</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classAxisNamed.html#a22d6fde3876454630e1d60a5c06b7354">Import</a>(<span class="keyword">const</span> TString&amp; input);</div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classAxisNamed.html#a22d6fde3876454630e1d60a5c06b7354">Import</a>(<span class="keyword">const</span> YAML::Node&amp; input);</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classAxisNamed.html#a718d84497a9868842596a65bc76213f9">ImportNamingAndBinning</a>(<span class="keyword">const</span> TString&amp; input);</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classAxisNamed.html#ae30609e6bcc882f92aa7d4f4c815fe69">ImportNaming</a>(<span class="keyword">const</span> TString&amp; input);</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="classAxisNamed.html#a5c88c8158f4fce9f40d345fe5d464c8b">   28</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classAxisNamed.html#a5c88c8158f4fce9f40d345fe5d464c8b">SetUnit</a>(<span class="keyword">const</span> TString&amp; unit) { <a class="code" href="classAxisNamed.html#aa97f6c160765671c8c2d70dab69c42d7">fUnit</a> = unit; }</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classAxisNamed.html#a5c88c8158f4fce9f40d345fe5d464c8b">SetUnit</a>(<span class="keyword">const</span> YAML::Node&amp; unit);</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classAxisNamed.html#ad05133e48f35b5583ca6fba3cac1f001">SetName</a>(<span class="keyword">const</span> YAML::Node&amp; name);</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classAxisNamed.html#aab4b8d775e0c74b5bd2775cda28ff596">SetTitle</a>(<span class="keyword">const</span> YAML::Node&amp; title);</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="classAxisNamed.html#a9fbcaf1436defc4c5d8ee10ab37b4ca9">   33</a></span>&#160;  <span class="keyword">const</span> Bool_t <a class="code" href="classAxisNamed.html#a9fbcaf1436defc4c5d8ee10ab37b4ca9">HasUnit</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !<a class="code" href="classAxisNamed.html#aa97f6c160765671c8c2d70dab69c42d7">fUnit</a>.EqualTo(<span class="stringliteral">&quot;&quot;</span>); }</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div><div class="line"><a name="l00035"></a><span class="lineno"><a class="line" href="classAxisNamed.html#a42c36f32e0e834d2ce94831e10f8833c">   35</a></span>&#160;  <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="classAxisNamed.html#a42c36f32e0e834d2ce94831e10f8833c">GetUnit</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classAxisNamed.html#aa97f6c160765671c8c2d70dab69c42d7">fUnit</a>.Data(); }</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;  <span class="keyword">const</span> TString <a class="code" href="classAxisNamed.html#a598eb30fe50e6b326a85de0da8aff618">BuildAxisLabel</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;  <span class="keyword">const</span> TString <a class="code" href="classAxisNamed.html#ad6809fce118601f9a91a120151b68c48">BuildCountLabel</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;  <span class="keyword">virtual</span> <span class="keyword">const</span> TString <a class="code" href="classAxisNamed.html#a777e378428dfdb3155648dc01edb3f4d">BuildString</a>() <span class="keyword">const</span>;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="keyword">private</span>:</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classAxisNamed.html#aa97f6c160765671c8c2d70dab69c42d7">   43</a></span>&#160;  TString <a class="code" href="classAxisNamed.html#aa97f6c160765671c8c2d70dab69c42d7">fUnit</a>;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;};</div><div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="preprocessor">#endif</span></div><div class="ttc" id="classAxisNamed_html_a718d84497a9868842596a65bc76213f9"><div class="ttname"><a href="classAxisNamed.html#a718d84497a9868842596a65bc76213f9">AxisNamed::ImportNamingAndBinning</a></div><div class="ttdeci">void ImportNamingAndBinning(const TString &amp;input)</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8cxx_source.html#l00053">AxisNamed.cxx:53</a></div></div>
<div class="ttc" id="classAxisNamed_html_afcf23c9ee9c33b9aa4c321aa672f0082"><div class="ttname"><a href="classAxisNamed.html#afcf23c9ee9c33b9aa4c321aa672f0082">AxisNamed::AxisNamed</a></div><div class="ttdeci">AxisNamed()</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8h_source.html#l00019">AxisNamed.h:19</a></div></div>
<div class="ttc" id="classAxisNamed_html_a777e378428dfdb3155648dc01edb3f4d"><div class="ttname"><a href="classAxisNamed.html#a777e378428dfdb3155648dc01edb3f4d">AxisNamed::BuildString</a></div><div class="ttdeci">virtual const TString BuildString() const</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8cxx_source.html#l00091">AxisNamed.cxx:91</a></div></div>
<div class="ttc" id="classAxisNamed_html_a22d6fde3876454630e1d60a5c06b7354"><div class="ttname"><a href="classAxisNamed.html#a22d6fde3876454630e1d60a5c06b7354">AxisNamed::Import</a></div><div class="ttdeci">void Import(const TString &amp;input)</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8cxx_source.html#l00009">AxisNamed.cxx:9</a></div></div>
<div class="ttc" id="classAxisNamed_html_aa97f6c160765671c8c2d70dab69c42d7"><div class="ttname"><a href="classAxisNamed.html#aa97f6c160765671c8c2d70dab69c42d7">AxisNamed::fUnit</a></div><div class="ttdeci">TString fUnit</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8h_source.html#l00043">AxisNamed.h:43</a></div></div>
<div class="ttc" id="classAxisNamed_html_aab4b8d775e0c74b5bd2775cda28ff596"><div class="ttname"><a href="classAxisNamed.html#aab4b8d775e0c74b5bd2775cda28ff596">AxisNamed::SetTitle</a></div><div class="ttdeci">void SetTitle(const YAML::Node &amp;title)</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8cxx_source.html#l00046">AxisNamed.cxx:46</a></div></div>
<div class="ttc" id="AxisBinning_8h_html"><div class="ttname"><a href="AxisBinning_8h.html">AxisBinning.h</a></div></div>
<div class="ttc" id="classAxisNamed_html_a7418cc7eddb9805a6eb5ea7d16890390"><div class="ttname"><a href="classAxisNamed.html#a7418cc7eddb9805a6eb5ea7d16890390">AxisNamed::AxisNamed</a></div><div class="ttdeci">AxisNamed(const YAML::Node &amp;input)</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8h_source.html#l00021">AxisNamed.h:21</a></div></div>
<div class="ttc" id="classAxisBinning_html"><div class="ttname"><a href="classAxisBinning.html">AxisBinning</a></div><div class="ttdoc">Container object for the binning for one axis. </div><div class="ttdef"><b>Definition:</b> <a href="AxisBinning_8h_source.html#l00015">AxisBinning.h:15</a></div></div>
<div class="ttc" id="classAxisNamed_html_a598eb30fe50e6b326a85de0da8aff618"><div class="ttname"><a href="classAxisNamed.html#a598eb30fe50e6b326a85de0da8aff618">AxisNamed::BuildAxisLabel</a></div><div class="ttdeci">const TString BuildAxisLabel() const</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8cxx_source.html#l00073">AxisNamed.cxx:73</a></div></div>
<div class="ttc" id="classAxisNamed_html_ae30609e6bcc882f92aa7d4f4c815fe69"><div class="ttname"><a href="classAxisNamed.html#ae30609e6bcc882f92aa7d4f4c815fe69">AxisNamed::ImportNaming</a></div><div class="ttdeci">void ImportNaming(const TString &amp;input)</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8cxx_source.html#l00062">AxisNamed.cxx:62</a></div></div>
<div class="ttc" id="classAxisNamed_html_a5c88c8158f4fce9f40d345fe5d464c8b"><div class="ttname"><a href="classAxisNamed.html#a5c88c8158f4fce9f40d345fe5d464c8b">AxisNamed::SetUnit</a></div><div class="ttdeci">void SetUnit(const TString &amp;unit)</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8h_source.html#l00028">AxisNamed.h:28</a></div></div>
<div class="ttc" id="NamedObject_8h_html"><div class="ttname"><a href="NamedObject_8h.html">NamedObject.h</a></div></div>
<div class="ttc" id="classAxisNamed_html_ad6809fce118601f9a91a120151b68c48"><div class="ttname"><a href="classAxisNamed.html#ad6809fce118601f9a91a120151b68c48">AxisNamed::BuildCountLabel</a></div><div class="ttdeci">const TString BuildCountLabel() const</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8cxx_source.html#l00082">AxisNamed.cxx:82</a></div></div>
<div class="ttc" id="classNamedObject_html"><div class="ttname"><a href="classNamedObject.html">NamedObject</a></div><div class="ttdef"><b>Definition:</b> <a href="NamedObject_8h_source.html#l00011">NamedObject.h:11</a></div></div>
<div class="ttc" id="classAxisNamed_html_ad05133e48f35b5583ca6fba3cac1f001"><div class="ttname"><a href="classAxisNamed.html#ad05133e48f35b5583ca6fba3cac1f001">AxisNamed::SetName</a></div><div class="ttdeci">void SetName(const YAML::Node &amp;name)</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8cxx_source.html#l00039">AxisNamed.cxx:39</a></div></div>
<div class="ttc" id="classAxisNamed_html"><div class="ttname"><a href="classAxisNamed.html">AxisNamed</a></div><div class="ttdoc">Container object for the binning for one axis. </div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8h_source.html#l00016">AxisNamed.h:16</a></div></div>
<div class="ttc" id="classAxisNamed_html_a9fbcaf1436defc4c5d8ee10ab37b4ca9"><div class="ttname"><a href="classAxisNamed.html#a9fbcaf1436defc4c5d8ee10ab37b4ca9">AxisNamed::HasUnit</a></div><div class="ttdeci">const Bool_t HasUnit() const</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8h_source.html#l00033">AxisNamed.h:33</a></div></div>
<div class="ttc" id="classAxisNamed_html_a42c36f32e0e834d2ce94831e10f8833c"><div class="ttname"><a href="classAxisNamed.html#a42c36f32e0e834d2ce94831e10f8833c">AxisNamed::GetUnit</a></div><div class="ttdeci">const char * GetUnit() const</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8h_source.html#l00035">AxisNamed.h:35</a></div></div>
<div class="ttc" id="classAxisNamed_html_a587bcf0b930cd89ad059f05d5ec72866"><div class="ttname"><a href="classAxisNamed.html#a587bcf0b930cd89ad059f05d5ec72866">AxisNamed::AxisNamed</a></div><div class="ttdeci">AxisNamed(const TString &amp;input)</div><div class="ttdef"><b>Definition:</b> <a href="AxisNamed_8h_source.html#l00020">AxisNamed.h:20</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_bfccd401955b95cf8c75461437045ac0.html">inc</a></li><li class="navelem"><a class="el" href="dir_c9669852a30ec5c19174cea431e29c05.html">Containers</a></li><li class="navelem"><a class="el" href="AxisNamed_8h.html">AxisNamed.h</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
